package com.mai.entity;

import java.util.Date;
import java.util.List;

/**
* <p>Title: OrderDetail</p> 
* <p>Description: 订单详情表</p> 
* @author  唐振耀 
* @date  2019年5月31日
*/
public class OrderDetail {
	private Integer detail_id;          //订单详情表id
	private Integer order_id;           //订单表Id
	private Integer product_id;         //商品表id
	private String product_name;        //商品名称
	private String product_price;       //商品价格
	private Integer product_quantity;   //商品数量
	private Date create_time;           //创建时间
	private Date update__time;          //修改时间
	private Integer user_id;            //用户id
	private List<ProductInfo> pi;
	
	public List<ProductInfo> getPi() {
		return pi;
	}
	public void setPi(List<ProductInfo> pi) {
		this.pi = pi;
	}
	public Integer getUser_id() {
		return user_id;
	}
	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}
	public Integer getDetail_id() {
		return detail_id;
	}
	public void setDetail_id(Integer detail_id) {
		this.detail_id = detail_id;
	}
	public Integer getOrder_id() {
		return order_id;
	}
	public void setOrder_id(Integer order_id) {
		this.order_id = order_id;
	}
	public Integer getProduct_id() {
		return product_id;
	}
	public void setProduct_id(Integer product_id) {
		this.product_id = product_id;
	}
	public String getProduct_name() {
		return product_name;
	}
	public void setProduct_name(String product_name) {
		this.product_name = product_name;
	}
	public String getProduct_price() {
		return product_price;
	}
	public void setProduct_price(String product_price) {
		this.product_price = product_price;
	}
	public Integer getProduct_quantity() {
		return product_quantity;
	}
	public void setProduct_quantity(Integer product_quantity) {
		this.product_quantity = product_quantity;
	}
	public Date getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}
	public Date getUpdate__time() {
		return update__time;
	}
	public void setUpdate__time(Date update__time) {
		this.update__time = update__time;
	}
	@Override
	public String toString() {
		return "OrderDetail [detail_id=" + detail_id + ", order_id=" + order_id + ", product_id=" + product_id
				+ ", product_name=" + product_name + ", product_price=" + product_price + ", product_quantity="
				+ product_quantity + ", create_time=" + create_time + ", update__time=" + update__time + ", user_id="
				+ user_id + ", pi=" + pi + "]";
	}
	

}
